home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
utility
/
warning.zip
/
WARNING.TXT
< prev
Wrap
Text File
|
1997-05-20
|
987b
|
25 lines
WARNING is a DOS prompt utility to help warn you against unnecessary deletes.
When a directory you don't want to delete is mistakingly almost deleted, then
a warning message says "This delete is not advised".
Instructions on using it.
1) Put WARNING.EXE in a directory in your path.
2) Edit WARNDIRS.TXT with the directories you don't want to delete from.
3) The context on using it is WARNING <path of WARNDIRS.TXT>
example: WARNING C:\DOS\WARNDIRS.TXT
4) Put the utility in a batch file which uses delete or move and use it to
warn you before deleting the wrong files.
An example batch file with WARNING in it is included.
The utility works by reading the current directory the WARNING utility is
begun from. It then compares it to the text file WARNDIRS with the directories
which are not to be deleted from. A message is flashed if the two are equal.
The batch file may be altered to be alerted to specific extensions as well:
*.TXT, *.DOC I.E.